<!---- SUI模板 on ${DATE} -->
<script ng-init="initCssAndJs()" xmlns:javascript="http://www.w3.org/1999/xhtml"
        xmlns:javascript="http://www.w3.org/1999/xhtml" xmlns:javascript="http://www.w3.org/1999/xhtml"></script>
<script ng-init="initCss('index-hot-page/css/index-hot.css')"></script>
<div class="content"  ng-init="getNewClass()">
    <div class="bar bar-header-secondary">
        <div class="pull-left address"><span class="fa home fa-map-marker">成都</span></div>
        <div class="searchbar">
            <a class="searchbar-cancel" ng-click="searchClass()">检索</a>

            <div class="search-input">
                <label class="icon icon-search" for="search"></label>
                <input ng-model="keyWord" value="{{keyWord}}" type="search" id='search' placeholder='输入关键字...'/>
            </div>
        </div>
    </div>
    <!--顶部bar-->
    <div class="buttons-tab">
        <a href="#/home" class="button">个性推荐</a>
        <a class="button active">热门课程</a>
        <a href="#/homenewest" class="button ">最近课程</a>
        <a href="#/hometopic" class="button">专题资讯</a>
    </div>
    <!-- 轮播图 -->
    <div class="swiper-container" data-space-between='0' data-swiper-autoplay="2000">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <img ng-src="page/home-page/img/1.png" alt="">
                <!--<p class="img-words" ng-click="$parent.turnDetail(silder)">{{silder.groupTitle}}</p>-->
            </div>
            <div class="swiper-slide">
                <img ng-src="page/home-page/img/2.png" alt="">
                <!--<p class="img-words" ng-click="$parent.turnDetail(silder)">{{silder.groupTitle}}</p>-->
            </div>
            <div class="swiper-slide">
                <img ng-src="page/home-page/img/3.png" alt="">
                <!--<p class="img-words" ng-click="$parent.turnDetail(silder)">{{silder.groupTitle}}</p>-->
            </div>
            <div class="swiper-slide">
                <img ng-src="page/home-page/img/4.png" alt="">
                <!--<p class="img-words" ng-click="$parent.turnDetail(silder)">{{silder.groupTitle}}</p>-->
            </div>
        </div>
        <div class="swiper-pagination"></div>
    </div>
    <!-- 加载提示符 -->
    <div class="infinite-scroll-preloader">
        <div class="preloader"></div>
    </div>
    <div class="hot-content" >
        <div ng-repeat="newClass in classInfo" class="hot-content-list list-first" ng-click="getClassId(newClass.classId)">
            <div class="hot-content-img">
                <img ng-if="!newClass.classImg" ng-src="page/home-page/img/1.png" alt="">
                <img ng-if="newClass.classImg" ng-src="{{newClass.classImg}}" alt="">
            </div>
            <a href="#/xiangqing"><div class="hot-title"><b style="color: #0acfe0">学习：</b>{{newClass.classTitle | cut:true:6:' ...' }}</div></a>
        </div>

    </div>
</div>

</div>

<!-- 底部bar-->
<nav class="bar bar-tab">
    <a class="tab-item external active" href="#/home">
        <span class="icon icon-home"></span>
        <span class="tab-label">首页</span>
    </a>
    <a class="tab-item external" href="#/classification">
        <span class="icon icon-app"></span>
        <span class="tab-label">分类</span>
    </a>
    <a class="tab-item external" href="#/reflection">
        <span class="icon icon-message"></span>
        <span class="tab-label">动态</span>
    </a>
    <a class="tab-item external" href="#/personal-center">
        <span class="icon icon-me"></span>
        <span class="tab-label">我的</span>
    </a>
</nav>
<!--底部bar结束-->

</div>
<div ng-init="suiMobileInit('index-hot-page/js/index-hot.js')"></div>